package com.ruoyi.ssm0115;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("a")
public class Personcontroller {

    @RequestMapping("add")
    public String add(){

        return "添加";
    }

    @RequestMapping("update")
    public String update(){

        return "修改";
    }
}
